package cn.hyatt.auth.dto.systemRole;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Getter;
import lombok.Setter;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;

/**
 * 角色保存DTO
 *
 * @author hyatt
 */
@Getter
@Setter
@Schema(name = "角色保存DTO")
public class SystemRoleSaveDto implements Serializable {
    @Serial
    private static final long serialVersionUID = 42L;

    @NotNull
    @Schema(description = "角色名称")
    private String name;

    @NotNull
    @Schema(description = "角色编码")
    private String code;

    @Schema(description = "备注")
    private String remark;

    @Schema(description = "菜单Ids")
    private List<Long> menuIds;
}
